<%@ page language="java" contentType="text/html;charset=utf-8" pageEncoding="utf-8"%>

<%@ include file="/core/taglibs.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<%@ include file="/core/adminMeta.jsp"%>
	
		<script type="text/javascript">
			function commit(){
			    if(confirm("确定批准提现？")){
			        var id=document.getElementById("id").value;
				 	var caifuNo=document.getElementById("caifuNo").value;
					location.href='<%=basePath%>/admin/ti/moneyTiCommit.shtml?id='+id+'&caifuNo='+caifuNo;
					
			    }else{
			        return;
			    }
			}
			function cancel(){
			    if(confirm("确定驳回提现？")){
			        var id=document.getElementById("id").value;
					var caifuNo=document.getElementById("caifuNo").value;
					 
					location.href='<%=basePath%>/admin/ti/moneyTiCancel.shtml?id='+id+'&caifuNo='+caifuNo;
					
			    }else{
			        return;
			    }
			}
		</script>
		<!-- 遮罩效果结束 -->
	</head>
	
	<body oncontextmenu="return false">
		<div id="scrollContent">
		
			<div class="box2" panelTitle="查看提现" roller="true">
	
<form id="commitForm"   method="post">
	<jodd:form scopes="request" beans="logMoneyTi">
	<input type="hidden" name="id" id="id"/>

					<table class="tableStyle" formMode="true">
					
						<tr>
							<th colspan="2">提现</th>
						</tr>
					
						<tr>
							<td width="50%">编号：</td>
							<td>${logMoneyTi.id}</td>
						</tr>
						<tr>
							<td>会员编号：</td>
							<td>${logMoneyTi.memberLoginName}</td>
						</tr>
						
						
						<tr>
							<td>提现额：</td>
							<td>${logMoneyTi.num}</td>
						</tr>
						<tr>
							<td>手续费：</td>
							<td>${logMoneyTi.fei}</td>
						</tr>
						<tr>
							<td>实付金额：</td>
							<td><font color="red">${logMoneyTi.shi}</font></td>
						</tr>
						<tr>
							<td>提现方式：</td>
							<td>
								<c:if test="${logMoneyTi.type==10}">银行卡</c:if>
								<c:if test="${logMoneyTi.type==20}">财付通</c:if>
								<c:if test="${logMoneyTi.type==30}">支付宝</c:if>
								
							</td>
						</tr>
					
					
						<tr>
							<td>开户行：</td>
							<td>${logMoneyTi.bankName}</td>
						</tr>
						 
						<tr>
							<td>开户行地址：</td>
							<td>${logMoneyTi.bankAddress}</td>
						</tr>
						<tr>
							<td>开户行省份：</td>
							<td>${logMoneyTi.bankSheng}</td>
						</tr>
						<tr>
							<td>开户行地市：</td>
							<td>${logMoneyTi.bankShi}</td>
						</tr>
						<tr>
							<td>卡号：</td>
							<td>${logMoneyTi.bankCardNo}</td>
						</tr>
						<tr>
							<td>开户名：</td>
							<td>${logMoneyTi.bankPersonName}</td>
						</tr>
				 
						
						<tr>
							<td>状态：</td>
							<td>
								<c:if test="${logMoneyTi.state==10}">未处理</c:if>
								<c:if test="${logMoneyTi.state==20}">已批准</c:if>
								<c:if test="${logMoneyTi.state==30}">已拒绝</c:if>
							</td>
						</tr>
						
						<tr>
							<td>提现时间：</td>
							<td>${logMoneyTi.tiDate}</td>
						</tr>
						<tr>
							<td>备注：</td>
							<td>
								<input type="text"  id="caifuNo" name="caifuNo" style="width: 70%;" />
								
							</td>
						</tr>
						<tr>
							<td colspan="2">
								<div style="color: red;text-align:center;">
									 ${retMsg}
								</div>
							</td>
						</tr>
						
				
						<tr>
							<td colspan="2">
								<c:if test="${logMoneyTi.state==10}">
									<input type="button"  value=" 批 准 " onclick="javascript:commit();" style="width:150px;font-size: 17px;font-weight: bold;height: 30px;"/>
									<input type="button"  value=" 驳 回 " onclick="javascript:cancel();" style="width:150px;font-size: 17px;font-weight: bold;height: 30px;" />
								</c:if>
							</td>
						</tr>
				
						
					</table>
</jodd:form>
				</form>
				
			</div>
		</div>
	<!--代码高亮end-->
	</body>
</html>